package sixkey.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import sixkey.domain.entity.Menu;

import java.util.List;

/**
 * ClassName:MenuMapper
 * Package:sixkey.mapper
 * Description
 *
 * @Author:@wenxueshi
 * @Create:2023/5/21 - 0:26
 * @Version:v1.0
 */
@Repository
public interface MenuMapper extends BaseMapper<Menu> {
    /**
     * 获取路径
     * @param loginId
     * @return
     */
    List<String> getMenuByUserId(@Param("loginId") Object loginId);
}
